package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2022/5/12 10:46
 */
@FieldTypeAnnotation(tableName = "t_l_ck_business_reunion", autoSave = true,uploadCk = true,desc = "商海重逢邀请日志")
public class LogBusinessReunion extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long playerId;
    @FieldTypeAnnotation(desc = "绑定码")
    private String recallCode;
    @FieldTypeAnnotation(desc = "绑定玩家id")
    private long bindPlayerId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;


    public LogBusinessReunion(int activityId, long playerId, String recallCode, long bindPlayerId, String reward) {
        this.activityId = activityId;
        this.playerId = playerId;
        this.recallCode = recallCode;
        this.bindPlayerId = bindPlayerId;
        this.reward = reward;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public String getRecallCode() {
        return recallCode;
    }

    public void setRecallCode(String recallCode) {
        this.recallCode = recallCode;
    }

    public long getBindPlayerId() {
        return bindPlayerId;
    }

    public void setBindPlayerId(long bindPlayerId) {
        this.bindPlayerId = bindPlayerId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }


    @Override
    public long getUserId() {
        return playerId;
    }
}
